/*
 * structs.h
 *
 *  Created on: 13/11/2011
 *      Author: joaogf
 */

#ifndef STRUCTS_H_
#define STRUCTS_H_
#include <iostream>

using std::cout;

struct Point2d{
	double x_;
	double y_;
	Point2d():
		x_(0.0),y_(0.0)
	{
	}
	Point2d(const double &x, const double &y):
		x_(x),y_(y)
	{
	}
};


struct ColorsRGB{
	Uint8 r_;
	Uint8 g_;
	Uint8 b_;

	ColorsRGB():
		r_(1.0),g_(1.0),b_(1.0)
	{
	}

	ColorsRGB(const Uint8 &r, const Uint8 &g, const Uint8 &b):
		r_(r),g_(g),b_(b)
	{
	}


};


typedef struct Point3d Point3d;


#endif /* STRUCTS_H_ */
